html {
    padding: 0;
    margin: 0;
    font-size: 12px;
}
/*导航条*/
.navbar-homepage {
    padding-left:  230px;
    padding-right: 250px;
    border-radius: 0;
    border:none;
}
.navbar-homepage .navbar-brand {
    color: #777;
}
.navbar-homepage .navbar-brand:hover,
.navbar-homepage .navbar-brand:focus {
    color: #5e5e5e;
    background-color: transparent;
}
.navbar-homepage .navbar-text {
    color: #777;
}
.navbar-homepage .navbar-nav > li > a {
    color: #fff;
}
.navbar-homepage .navbar-nav > li > a:hover,
.navbar-homepage .navbar-nav > li > a:focus {
    color: #f40;
    background-color: transparent;
}
.navbar-homepage .navbar-nav > .active > a,
.navbar-homepage .navbar-nav > .active > a:hover,
.navbar-homepage .navbar-nav > .active > a:focus {
    color: #f40;
}
.navbar-homepage .navbar-nav > .disabled > a,
.navbar-homepage .navbar-nav > .disabled > a:hover,
.navbar-homepage .navbar-nav > .disabled > a:focus {
    color: #f40;
    background-color: transparent;
}
.navbar-homepage .navbar-toggle {
    border:1px solid #fff;
    margin-right: 200px;
}
.navbar-homepage .navbar-toggle .icon-bar {
    background-color: #fff;
}
.navbar-homepage .navbar-toggle:hover,
.navbar-homepage .navbar-toggle:focus {

}
.navbar-homepage .navbar-toggle .icon-bar {

}
.navbar-homepage .navbar-nav > .open > a,
.navbar-homepage .navbar-nav > .open > a:hover,
.navbar-homepage .navbar-nav > .open > a:focus {
    color: #f40;
}
@media (max-width: 767px) {
    .navbar-homepage .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }
    .navbar-homepage .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-homepage .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #f40;
        background-color: transparent;
    }
    .navbar-homepage .navbar-nav .open .dropdown-menu > .active > a,
    .navbar-homepage .navbar-nav .open .dropdown-menu > .active > a:hover,
    .navbar-homepage .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #f40;
    }
    .navbar-homepage .navbar-nav .open .dropdown-menu > .disabled > a,
    .navbar-homepage .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .navbar-homepage .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #ccc;
        background-color: transparent;
    }
}
.navbar-homepage .navbar-link {
    color: #f40;
}
.navbar-homepage .navbar-link:hover {
    color: #f40;
}
.navbar-homepage .btn-link {
    color: #f40;
}
.navbar-homepage .btn-link:hover,
.navbar-homepage .btn-link:focus {
    color: #f40;
}
.navbar-homepage .btn-link[disabled]:hover,
fieldset[disabled] .navbar-homepage .btn-link:hover,
.navbar-homepage .btn-link[disabled]:focus,
fieldset[disabled] .navbar-homepage .btn-link:focus {
    color: #ccc;
}

.navbar-homepage .nav .open > a,
.navbar-homepage .nav .open > a:hover,
.navbar-homepage .nav .open > a:focus {
    background-color: transparent;
}

.navbar-right .dropdown-menu {
    right:-113px;
    min-width: 114px;
}
#home {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    overflow: hidden;
    margin: 0;
}
.homepage {
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    right: 0;
    z-index: 5;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-image: url("../images/home/bg_4.jpg");
    -webkit-transition: All .35s ease;
    -moz-transition: All .35s ease;
    -ms-transition: All .35s ease;
    -o-transition: All .35s ease;
    transition: All .35s ease;
    background-color: rgba(0,0,0,0);
}
.bgMoveOut {
    -webkit-transform: translate(-180px)!important;
    -moz-transform: translate(-180px)!important;
    -ms-transform: translate(-180px)!important;
    -o-transform: translate(-180px)!important;
    transform: translate(-180px)!important;
}
.homeBack {
    position: relative;
    z-index: 14;
    background-color: rgba(0,0,0,0);
    -webkit-transition: all .35s ease;
    -moz-transition: all .35s ease;
    -ms-transition: all .35s ease;
    -o-transition: all .35s ease;
    transition: all .35s ease;
}
.homeBook {
    padding-top: 40px;
    padding-left: 300px;
    padding-right: 300px;
}
.homeBook-padding {
    padding-left: 300px;
    padding-right: 300px;
}
.homeBook ul {
    width: 100%;
    padding: 10px 0;
    list-style: none;
}
.homeBook ul li{
    width: 25%;
    float: left;
    padding: 0;
    margin: 0;
}
.homeBook ul li a{
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
}
.homeBook ul li a img{
    width: 120px;
    height: 150px;
    display: block;
    margin: 0 auto;
}
.homeBook ul li a p{
    font-size: 12px;
    color: #fff;
    padding: 10px 0;
}

@media (min-width: 767px) and (max-width: 1300px) {
    .homeBook {
        padding-left: 100px;
        padding-right: 100px;
    }
    .homeBook-padding {
        padding-left: 100px;
        padding-right: 100px;
    }
    .navbar-homepage {
        padding-left:  100px;
        padding-right: 100px;

    }
}
@media (max-width: 767px) {
    .homeBook ul li a img{
        width: 40px;
        height: 60px;
    }
    .homeBook {
        padding-left: 0px;
        padding-right: 0px;
    }
    .homeBook-padding {
        padding-left: 0px;
        padding-right: 0px;
    }
    .navbar-homepage {
        padding-left:  0px;
        padding-right: 0px;
    }
    .navbar-homepage .navbar-toggle {
        margin-right: 380px;
    }
    .navbar-collapse {
        background-color: rgba(220,255,240,.3);
        width: 100%;
    }
}
@media (min-width: 400px) and (max-width: 440px) {
    .navbar-homepage .navbar-toggle {
        margin-right: 350px;
    }
}
@media (min-width: 330px) and (max-width: 400px) {
    .navbar-homepage .navbar-toggle {
        margin-right: 300px;
    }
}

@media (min-width: 300px) and (max-width: 330px) {
    .navbar-homepage .navbar-toggle {
        margin-right: 260px;
    }
}



/*addButton*/
#addButton {
    width: 38px;
    height: 38px;
    border-radius: 21px;
    cursor: pointer;
    position: absolute;
    top: 7px;
    right: 20px;
    z-index: 1000;
    background-image: url(../images/home/add.png);
    -webkit-background-size:100%;
    background-size:100%;
    opacity: 1;
    box-shadow: #e74c3c 0 0 10px;
    -webkit-transition: all ease-out .35s;
    -moz-transition: all ease-out .35s;
    -ms-transition: all ease-out .35s;
    -o-transition: all ease-out .35s;
    transition: all ease-out .35s;
    border: none;
    background-color: #e74c3c;
}
.addBtn {
    -webkit-transform: rotate(225deg);
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -o-transform: rotate(225deg);
    transform: rotate(225deg);
}
#randomWallpaper {
    position: absolute;
    width: 40px;
    height: 60px;
    bottom: 0;
    right: 20px;
    z-index: 100;
}
#fengche {
    width: 40px;
    z-index: 90;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    -webkit-transition: all ease-out .6s;
    -moz-transition: all ease-out .6s;
    -ms-transition: all ease-out .6s;
    -o-transition: all ease-out .6s;
    transition: all ease-out .6s;
}
.fengcheBtn {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}
#fengchegan {
    width: 5px;
    height: 30px;
    position: absolute;
    bottom: 0;
    left: 18px;
    background-color: #fefefe;
    z-index: 80;
}



/*个人介绍*/
.personality {
    background-image: url(../images/home/pre_bg.jpg);
    -webkit-background-size:cover;
    background-size:cover;
    background-position: 50% 50%;
    /*width: 0px;*/
    /*opacity: 1;*/
    /*height: 100%;*/
    -webkit-transition: all 0.35s ease;
    -moz-transition: all 0.35s ease;
    -ms-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
    z-index: 100;
    /*display: none;*/
    box-shadow: grey 0 0 12px;
}
.log {
    display: block;
    margin: 15px;
}
.slide {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fdfdfd;
    z-index: 90;
    overflow: hidden;
    -webkit-transition: all 0.35s ease;
    -moz-transition: all 0.35s ease;
    -ms-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
    box-sizing: border-box;
    /*visibility: hidden;*/

}
.slideOut {
    box-shadow: grey 0 0 12px;
    /*width:300px;*/
    display: block;
    z-index: 100;
    transform: translate(-300px);
    visibility: visible;
}
.personality .intrude-less {
    padding-top: 10px;
    text-align: center;
    margin: 10px auto 0;

}
.header-author {
    text-align: center;
    margin: 0.67em 0;
    font-family: Roboto, "Roboto", serif;
    font-size: 30px;
    color: #fff;
    -webkit-transition: 0.35s;
    -moz-transition: 0.35s;
    -ms-transition: 0.35s;
    transition: 0.35s;
}
#header {
    width: 100%;
}
#header ul {
    list-style: none;
}
#header a {
    color: #fff;
    text-decoration: none;
}
#header a:hover {
    color: #4d4d4d;
}
#header .profilepic {
    text-align: center;
    display: block;
    -webkit-box-shadow: 0 0 0 2px rgba(255,255,255,0.5), 0px 2px 20px 3px rgba(0,0,0,0.25);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.5), 0px 2px 20px 3px rgba(0,0,0,0.25);
    -webkit-border-radius: 300px;
    border-radius: 300px;
    width: 128px;
    height: 128px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    /*background: #88acdb;*/
    -webkit-transition: all 0.35s ease-in;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    text-align: center;
    background:url(../images/home/psu.jpg) no-repeat 13px;
    background-size: 80%;
}
#header .profilepic img {
    width: 100%;
    height: 110%;
    -webkit-border-radius: 300px;
    border-radius: 300px;
    opacity: 1;
    -webkit-transition: all 0.35s ease-in;
}
#header .profilepic img.show {
    width: 100%;
    height: 100%;
    /*opacity: 1;*/
}
#header .profilepic:hover {
    -webkit-animation: btnGroups .35s linear;
    -webkit-animation: btnGroups .35s linear;
    -moz-animation: btnGroups .35s linear;
    -ms-animation: btnGroups .35s linear;
    animation: btnGroups .35s linear;
}

#header .header-subtitle {
    text-align: center;
    color: #fff;
    font-size: 14px;
    line-height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
#search {
    width: 120px;
    height: 18px;
    margin-top:1px;
    color: #fff;
    padding: 0;
    font-family: inherit;
    border: 2px solid transparent;
    border-bottom: 2px solid #fff;
    border-radius: 2px;
    background: none;
    outline: medium;
    margin-bottom: 20px;
}
#header .header-menu {
    font-weight: 300;
    line-height: 31px;
    cursor: pointer;
    text-transform: uppercase;
    float: none;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center;
}
#header .header-menu li {
    cursor: default;
}
#header .header-menu li a {
    font-size: 14px;
    min-width: 300px;
}
#header .header-menu li a:hover {
    color: #fff;
    background: #258fb8;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 3px;
    margin: 2px;
}
#header .switch-area {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #fff;
    min-height: 300px;
    font-size: 14px;
}
#header .switch-area .switch-wrap {
    -webkit-transition: -webkit-transform 0.35s ease-in;
    -moz-transition: -moz-transform 0.35s ease-in;
    -ms-transition: -ms-transform 0.35s ease-in;
    transition: transform 0.35s ease-in;
    position: relative;
}
#header .turn-left {
    -webkit-transform: translate(-100%, 0);
    -moz-transform: translate(-100%, 0);
    -ms-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
}
#header .header-nav {
    width: 100%;
    position: absolute;
    -webkit-transition: -webkit-transform 0.35s ease-in;
    -moz-transition: -moz-transform 0.35s ease-in;
    -ms-transition: -ms-transform 0.35s ease-in;
    transition: transform 0.35s ease-in;
}
#header .header-nav .social {
    margin-right: 15px;
    margin-top: 10px;
    text-align: center;
}
#header .header-nav .social li {
    float: left;
}
#header .header-nav .social a {
    -webkit-border-radius: 50%;
    border-radius: 50%;
    display: -moz-inline-stack;
    display: inline-block;
    vertical-align: middle;
    /**vertical-align: auto;*/
    zoom: 1;
    *display: inline;
    text-indent: -9999px;
    margin: 0 8px 15px 8px;
    opacity: 1;
    width: 28px;
    height: 28px;
    -webkit-transition: 0.35s;
    -moz-transition: 0.35s;
    -ms-transition: 0.35s;
    transition: 0.35s;
}
#header .header-nav .social a:hover {
    opacity: 0.7;
}
#header .header-nav .social a:last-of-type {
    margin-right: 0;
}
#header .header-nav .social a.weibo {
    background: url("../images/home/weibo.png") center no-repeat #f00;
    border: 1px solid #f00;
}
#header .header-nav .social a.weibo:hover {
    border: 1px solid #f00;
}
#header .header-nav .social a.rss {
    background: url("../images/home/rss.png") center no-repeat #ef7522;
    border: 1px solid #ef7522;
}
#header .header-nav .social a.rss:hover {
    border: 1px solid #ef7522;
}
#header .header-nav .social a.github {
    background: url("../images/home/github.png") center no-repeat #000;
    border: 1px solid #000;
}
#header .header-nav .social a.github:hover {
    border: 1px solid #000;
}
#header .header-nav .social a.facebook {
    background: url("../images/home/facebook.png") center no-repeat #3b5998;
    border: 1px solid #3b5998;
}
#header .header-nav .social a.facebook:hover {
    border: 1px solid #3b5998;
}
#header .header-nav .social a.google {
    background: url("../images/home/google.png") center no-repeat #f00;
    border: 1px solid #f00;
}
#header .header-nav .social a.google:hover {
    border: 1px solid #f00;
}
#header .header-nav .social a.twitter {
    background: url("../images/home/twitter.png") center no-repeat #55cff8;
    border: 1px solid #55cff8;
}
#header .header-nav .social a.twitter:hover {
    border: 1px solid #55cff8;
}
#header .header-nav .social a.linkedin:hover {
    border: 1px solid #006b98;
}
#header .header-nav .social a.zhihu {
    background: url("../images/home/zhihu.png") center no-repeat #0663c1;
    border: 1px solid #0663c1;
}
#header .header-nav .social a.zhihu:hover {
    border: 1px solid #0663c1;
}
#header .header-nav .social a.douban:hover {
    border: 1px solid #06c611;
}
#header .header-nav .social a.mail {
    background: url("../images/home/mail.png") center no-repeat #00abff;
    border: 1px solid #00abff;
}
#header .header-nav .social a.mail:hover {
    border: 1px solid #00abff;
}

/*cancas动画*/
#c {
    position: relative;
    top: -575px;
    left: 160px;
    z-index: 11;
    background-color: rgba(0,0,0,0);
    display: none;
}

#animateController {
    width: 120px;
    height: 120px;
    position: relative;
    bottom: 300px;
    left: 0px;
    display: none;
}
#animateController button {
    box-shadow: #00abff 0 0 10px ;
    color: #fff;
    background-color: #00abff;
    outline: none;
    z-index: 12;
    width: 30px;
    height: 30px;
}
#btn1 {
    text-align: center;
    /*line-height: 40px;*/
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -15px;
}
#btn2 {
    text-align: center;
    /*line-height: 40px;*/
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -15px;
}
#btn3 {
    text-align: center;
    /*line-height: 40px;*/
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0px;
    margin-top: -15px;
}
#btn4 {
    text-align: center;
    /*line-height: 40px;*/
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -15px;
}
#btn5 {
    text-align: center;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -15px;
    margin-left: -15px;
}
@media (max-width: 767px) {
    #animateController {
        bottom: 100px;
        width: 120px;
        height: 120px;
    }
    #animateController button {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    #btn1{
        margin-left: -15px;
    }
    #btn2{
        margin-left: -15px;
    }
    #btn3{
        margin-top: -15px;
    }
    #btn4{
        margin-top: -15px;
    }
    #btn5{
        margin-top: -15px;
        margin-left: -15px;
    }
}



/*龙猫*/
#floating {
    width: 50px;
    height: 100px;
    background: url(../images/home/longmao.jpg) no-repeat #fff;
    -webkit-background-size:cover;
    background-size: contain;
    z-index: 100;
    border-radius: 50%;

    position: absolute;
    right: 80px;
    bottom: 40px;
    transform: translateY(0);
    transition: transform 1s;
   /* -webkit-transition: translate 3s;
    -moz-transition: translate 3s;
    -ms-transition: translate 3s;
    -o-transition: translate 3s;
    transition: translate 3s;*/
    /*transform: translate(0px,-100px);*/
}
#floating:after {
    content: "";
    display: block;
    position: absolute;
    bottom: -30px;
    left: 50%;
    height: 8px;
    width: 100%;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);

    transform: translate(-50%, 0);
    transition: transform 1s;
}

/* Hover States */
#floating:hover {
    transform: translateY(-40px);
    transition: transform 1s;
}
#floating:hover:after {
    transform: translate(-50%, 40px) scale(0.75);
    transition: transform 1s;
}

